package com.topvision.service.zwan;

import com.topvision.annotation.DataSource;
import com.topvision.db.DataSourceConstants;
import com.topvision.model.zwan.Sysorderdeviceinfo;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author shengwm
 * @email 179653076@qq.com
 * @date 2017-08-08 09:42:41
 */
public interface SysorderdeviceinfoService {
	
	Sysorderdeviceinfo queryObject(BigDecimal deviceseqno);

	@DataSource(DataSourceConstants.ORACLE_PORTAL_SLAVE)
	List<Sysorderdeviceinfo> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(Sysorderdeviceinfo sysorderdeviceinfo);
	
	void update(Sysorderdeviceinfo sysorderdeviceinfo);
	
	void delete(BigDecimal deviceseqno);
	
	void deleteBatch(BigDecimal[] deviceseqnos);

	int batchInsert(Map<String, Object> params);

	List<Sysorderdeviceinfo> findByParams(Map<String, Object> params);

	List<Sysorderdeviceinfo> notBindList();

	List<Sysorderdeviceinfo> queryByParam(Map<String, Object> params);
}
